/**
 * Created by txl-pc on 2017/5/17.
 */
export const nuxtMixins = {
  computed: {
    pageHeadData () {
      return {
        pageTab: this.chartData ? this.chartData.chapterNum : '',
        pageTitle: this.pageTitle,
        detailTitle: this.detailTitle
      }
    },
    pageFooterData () {
      return {
        footerPage: this.chartData ? this.chartData.pageNum: '',
        oneRemark: this.oneRemarkData,
        repeatRemark: this.repeatRemark
      }
    },
    contentHeadData () {
      return {
        contentTitle: this.contentTitle,
        titleDescribe: this.titleDescribe
      }
    }
  }
}
